package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Recruitment;

/**
 * 招聘信息Service接口
 *
 * @author ruoyi
 * @date 2022-11-01
 */
public interface IRecruitmentService
{
    /**
     * 查询招聘信息
     *
     * @param recruitmentId 招聘信息主键
     * @return 招聘信息
     */
    public Recruitment selectRecruitmentByRecruitmentId(Long recruitmentId);


    /**
     * 查询招聘信息
     *
     * @param recruitmentName 招聘信息主键
     * @return 招聘信息
     */
    Recruitment selectRecruitmentByRecruitmentName(String recruitmentName);

    /**
     * 查询招聘信息列表
     *
     * @param recruitment 招聘信息
     * @return 招聘信息集合
     */
    public List<Recruitment> selectRecruitmentList(Recruitment recruitment);

    /**
     * 新增招聘信息
     *
     * @param recruitment 招聘信息
     * @return 结果
     */
    public int insertRecruitment(Recruitment recruitment);

    /**
     * 修改招聘信息
     *
     * @param recruitment 招聘信息
     * @return 结果
     */
    public int updateRecruitment(Recruitment recruitment);

    /**
     * 批量删除招聘信息
     *
     * @param recruitmentIds 需要删除的招聘信息主键集合
     * @return 结果
     */
    public int deleteRecruitmentByRecruitmentIds(String recruitmentIds);

    /**
     * 删除招聘信息信息
     *
     * @param recruitmentId 招聘信息主键
     * @return 结果
     */
    public int deleteRecruitmentByRecruitmentId(Long recruitmentId);

    /**
     * 发送简历
     * @param recruitmentId 招聘信息id
     * @param resumeId 简历id
     * @return
     */
    int giveRecruitment(String recruitmentId, String resumeId);

}
